//
//  HomeDailyView.h
//  jingdongfang
//
//  Created by LJL on 2018/5/21.
//  Copyright © 2018年 BOE. All rights reserved.
//

#import <UIKit/UIKit.h>
#define Is_iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
/***  当前屏幕宽度 */
#define kScreenWidth  ([[UIScreen mainScreen] bounds].size.width)
/***  当前屏幕高度 */
#define kScreenHeight  ([[UIScreen mainScreen] bounds].size.height)
#define kTabBarHeight ((Is_iPhoneX)?(83):(49))
#define kColViewHeight (240 - NavigationMagin)
#define KHeadViewOff 200  //下拉弹簧最大值

typedef void(^picCompleteBlock)(void);
typedef void(^rightBtnBlock)();


@interface HomeDailyView : UIView
@property (nonatomic, copy) rightBtnBlock block;
@property (nonatomic, strong) UIImageView *backgroundImageView;
- (void)setIconPicStr:(NSString *)iconPicStr withCompleteBlock:(picCompleteBlock) completion;

@end
